﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YmtAuth.Domain.Model.Safe
{
     /// <summary>
     /// 登录风控，具体的错误码
     /// </summary>
    public class AuthSafeHandleSubCode
    {
        /// <summary>
        /// 需要身份认证(100) - 买手本地局域网IP
        /// </summary>
        public const int NeedIdentityVerify_LanIP = 101;
        
        /// <summary>
        /// 需要身份认证(100) - 登录历史密码错误-3分钟内大于等于5,需要验证身份
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_LoginPasswordHistoryVerify = 130;

        /// <summary>
        /// 需要身份认证(100) - IP黑名单,需要验证身份
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_BlackIPVerify = 140;

        /// <summary>
        /// 需要身份认证(100) - IP为空
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_IPNotExists = 152;

        /// <summary>
        /// 需要身份认证(100) - IP区域不存在
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_CannotFindIpArea = 155;

        /// <summary>
        /// 需要身份认证(100) - IP区域状态验证失败
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_VerifyIPAreaStatus = 157;

        /// <summary>
        /// 需要身份认证(100) - 用户最后一次IP区域认证时间验证失败
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_VerifyIpAreaLastAuthTime = 161;

        /// <summary>
        /// 需要身份认证(100) - 设备号黑名单
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_VerifyBlackDevice = 162;

        /// <summary>
        /// 需要身份认证(100) - 设备号，CLientID为空
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_DeviceAndCLientIdNotExists = 172;

        /// <summary>
        /// 需要身份认证(100) - 设备号不存在
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_CannotFindDevice = 174;

        /// <summary>
        /// 需要身份认证(100) - 设备号状态验证失败
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_VerifyDeviceStatus = 175;

        /// <summary>
        /// 需要身份认证(100) - ClientId状态验证失败
        /// </summary>
        public const int NeedIdentityVerify_LoginSafe_VerifyClientIdStatus = 176;
        
    }
}
